<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<form action="${param.action}" method="post">
	<div class="custom-form">
		<ul>
			<li><span>合同类型：</span><input name="type.id" type="text" class="easyui-combobox"
				data-options="required:true,url:'file/dic/contractType/comboBox?sort=sort,asc',valueField:'id',textField:'name',method:'get',panelHeight:'auto'" /></li>
			<li><span>完成部门：</span><input name="dept.id" class="easyui-combotree" data-options="required:true,url:'sys/dept/subcompany'"/></li>
			<li><span>合同编号：</span><input name="sn" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,128]','htmlUnescape']" /></li>
			<li><span>合同名称：</span><input name="name" type="text" class="easyui-textbox" data-options="required:true,validType:['length[1,31]','htmlUnescape']" /></li>
			<li><span>签订日期：</span><input name="signedDate" type="text" class="easyui-datebox" data-options="required:true" /></li>
			<li><span>合同金额：</span><input name="cost" type="text" class="easyui-numberbox" value="0" data-options="min:0,precision:2,prefix:'￥'" /></li>
			<li><span>合同原件：</span><input name="file" class="easyui-filebox" data-options="required:true,editable:false,buttonText:'选择',icons:[clearInput_icon]" /></li>
			<li><span>备注：</span><input name="description" type="text" class="easyui-textbox" data-options="multiline:true,height:100,validType:['length[1,255]','htmlUnescape']" /></li>
		</ul>
		<input type="hidden" name="_dontcare" value="_dontcare"/>
	</div>
</form>